
<%@ page import="com.dbb.Ctn" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'ctn.label', default: 'Ctn')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-ctn" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-ctn" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list ctn">
			
				<g:if test="${ctnInstance?.colorSizes}">
				<li class="fieldcontain">
					<span id="colorSizes-label" class="property-label"><g:message code="ctn.colorSizes.label" default="Color Sizes" /></span>
					
						<g:each in="${ctnInstance.colorSizes}" var="c">
						<span class="property-value" aria-labelledby="colorSizes-label"><g:link controller="colorSize" action="show" id="${c.id}">${c?.encodeAsHTML()}</g:link></span>
						</g:each>
					
				</li>
				</g:if>
			
				<g:if test="${ctnInstance?.ctnType}">
				<li class="fieldcontain">
					<span id="ctnType-label" class="property-label"><g:message code="ctn.ctnType.label" default="Ctn Type" /></span>
					
						<span class="property-value" aria-labelledby="ctnType-label"><g:fieldValue bean="${ctnInstance}" field="ctnType"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ctnInstance?.grossWeight}">
				<li class="fieldcontain">
					<span id="grossWeight-label" class="property-label"><g:message code="ctn.grossWeight.label" default="Gross Weight" /></span>
					
						<span class="property-value" aria-labelledby="grossWeight-label"><g:fieldValue bean="${ctnInstance}" field="grossWeight"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ctnInstance?.high}">
				<li class="fieldcontain">
					<span id="high-label" class="property-label"><g:message code="ctn.high.label" default="High" /></span>
					
						<span class="property-value" aria-labelledby="high-label"><g:fieldValue bean="${ctnInstance}" field="high"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ctnInstance?.length}">
				<li class="fieldcontain">
					<span id="length-label" class="property-label"><g:message code="ctn.length.label" default="Length" /></span>
					
						<span class="property-value" aria-labelledby="length-label"><g:fieldValue bean="${ctnInstance}" field="length"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ctnInstance?.netWeight}">
				<li class="fieldcontain">
					<span id="netWeight-label" class="property-label"><g:message code="ctn.netWeight.label" default="Net Weight" /></span>
					
						<span class="property-value" aria-labelledby="netWeight-label"><g:fieldValue bean="${ctnInstance}" field="netWeight"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ctnInstance?.product}">
				<li class="fieldcontain">
					<span id="product-label" class="property-label"><g:message code="ctn.product.label" default="Product" /></span>
					
						<span class="property-value" aria-labelledby="product-label"><g:link controller="product" action="show" id="${ctnInstance?.product?.id}">${ctnInstance?.product?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${ctnInstance?.prs}">
				<li class="fieldcontain">
					<span id="prs-label" class="property-label"><g:message code="ctn.prs.label" default="Prs" /></span>
					
						<span class="property-value" aria-labelledby="prs-label"><g:fieldValue bean="${ctnInstance}" field="prs"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${ctnInstance?.width}">
				<li class="fieldcontain">
					<span id="width-label" class="property-label"><g:message code="ctn.width.label" default="Width" /></span>
					
						<span class="property-value" aria-labelledby="width-label"><g:fieldValue bean="${ctnInstance}" field="width"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${ctnInstance?.id}" />
					<g:link class="edit" action="edit" id="${ctnInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
